Path-Based Reuse Distance Analysis
نویسندگان
چکیده
Profiling can effectively analyze program behavior and provide critical information for feedback-directed or dynamic optimizations. Based on memory profiling, reuse distance analysis has shown much promise in predicting data locality for a program using inputs other than the profiled ones. Both wholeprogram and instruction-based locality can be accurately predicted by reuse distance analysis. Reuse distance analysis abstracts a cluster of memory references for a particular instruction having similar reuse distance values into a locality pattern. Prior work has shown that a significant number of memory instructions have multiple locality patterns, a property not desirable for many instruction-based memory optimizations. This paper investigates the relationship between locality patterns and execution paths by analyzing reuse distance distribution along each dynamic path to an instruction. Here a path is defined as the program execution trace from the previous access of a memory location to the current access. By differentiating locality patterns with the context of execution paths, the proposed analysis can expose optimization opportunities tailored only to a specific subset of paths leading to an instruction. In this paper, we present an effective method for path-based reuse distance profiling and analysis. We have observed that a significant percentage of the multiple locality patterns for an instruction can be uniquely related to a particular execution path in the program. In addition, we have also investigated the influence of inputs on reuse distance distribution for each path/instruction pair. The experimental results show that the path-based reuse distance is highly predictable, as a function of the data size, for a set of SPEC CPU2000 programs.
منابع مشابه
Retrieving and reusing qualitative cases: An application in humanoid-robot soccer
This paper proposes a new Case-Based Reasoning (CBR) approach, named Q-CBR, that uses a Qualitative Spatial Reasoning theory to model, retrieve and reuse cases by means of spatial relations. Qualitative relations between objects, represented in terms of the EOPRA formalism, are stored as qualitative cases that are applied in the definition of new retrieval and reuse algorithms. The retrieval al...
متن کاملOn finding the signal to interference ratio for the DCA Problem
This note accompanies the DCA algorithm [1] proposed by Daniels et. al. The algorithm relies on assigning channels while satisfying a cumulative interference criteria. All channel assignments must satisfy the constraint S( ci, ci) ∑ j =i S( ci, cj) ≥ B, where S( ci, cj) represents the signal measured at cell ci due to a transmitter in cell cj , both operating over the same channel. The approach...
متن کاملEffects of Path Loss and Fringe User Distribution on Cdma Cellular Frequency Reuse Efficiency
State University Blacksburg, VA 24061'-0111 This paper determines expressions which quantitatively describe the impact of path loss and user distribution on CDMA cellular radio system performance. Path ·ross in typical microcellular and cellular channels is shown to increase exponentially with distance to between the second and third power, as opposed to the commonly quoted fourth power law. Th...
متن کاملIs Reuse Distance Applicable to Data Locality Analysis on Chip Multiprocessors?
On Chip Multiprocessors (CMP), it is common that multiple cores share certain levels of cache. The sharing increases the contention in cache and memory-to-chip bandwidth, further highlighting the importance of data locality analysis. As a rigorous and hardware-independent locality metric, reuse distance has served for a variety of locality analysis, program transformations, and performance pred...
متن کاملDiscovery of Locality-Improving Refactorings by Reuse Path Analysis
Due to the huge speed gaps in the memory hierarchy of modern computer architectures, it is important that programs maintain a good data locality. Improving temporal locality implies reducing the distance of data reuses that are far apart. The best existing tools indicate locality bottlenecks by highlighting both the source locations generating the use and the subsequent cache-missing reuse. Eve...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006